package com.waypolice.pojo.vo;

import java.io.Serializable;

/**
 * 描述:
 *
 * @author zyp
 * @description 利用统计情况实体类
 * @create 2019-04-01 15:13
 */
public class UseCountVo implements Serializable{

    //业务类型
    public String classify;
    //检索卷数
    public int searchVolNum;
    //检索件数
    public int searchItemNum;
    //检索人数
    public int searchManNum;
    //借阅卷数
    public int borrowVolNum;
    //借阅件数
    public int borrowItemNum;
    //借阅人次
    public int borrowManNum;
    //打印件数
    public int printItemNum;
    //打印人次
    public int printManNum;
    //总件数
    public int allItemNum;
    //总人次
    public int allManNum;

    public String getClassify() {
        return classify;
    }

    public void setClassify(String classify) {
        this.classify = classify;
    }

    public int getSearchVolNum() {
        return searchVolNum;
    }

    public void setSearchVolNum(int searchVolNum) {
        this.searchVolNum = searchVolNum;
    }

    public int getSearchItemNum() {
        return searchItemNum;
    }

    public void setSearchItemNum(int searchItemNum) {
        this.searchItemNum = searchItemNum;
    }

    public int getSearchManNum() {
        return searchManNum;
    }

    public void setSearchManNum(int searchManNum) {
        this.searchManNum = searchManNum;
    }

    public int getBorrowVolNum() {
        return borrowVolNum;
    }

    public void setBorrowVolNum(int borrowVolNum) {
        this.borrowVolNum = borrowVolNum;
    }

    public int getBorrowItemNum() {
        return borrowItemNum;
    }

    public void setBorrowItemNum(int borrowItemNum) {
        this.borrowItemNum = borrowItemNum;
    }

    public int getBorrowManNum() {
        return borrowManNum;
    }

    public void setBorrowManNum(int borrowManNum) {
        this.borrowManNum = borrowManNum;
    }

    public int getPrintItemNum() {
        return printItemNum;
    }

    public void setPrintItemNum(int printItemNum) {
        this.printItemNum = printItemNum;
    }

    public int getPrintManNum() {
        return printManNum;
    }

    public void setPrintManNum(int printManNum) {
        this.printManNum = printManNum;
    }

    public int getAllItemNum() {
        return allItemNum;
    }

    public void setAllItemNum(int allItemNum) {
        this.allItemNum = allItemNum;
    }

    public int getAllManNum() {
        return allManNum;
    }

    public void setAllManNum(int allManNum) {
        this.allManNum = allManNum;
    }

    /**
     * @author:zyp
     * @description 判断当前类型一致即相同
     * @date: 2019/4/1 15:23
     * @return 
     */
    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()){
            return false;
        }
        UseCountVo that = (UseCountVo) o;
        if(classify!=null&&classify.equals(that.classify)){
            return true;
        }else{
            return false;
        }
    }

    @Override
    public int hashCode() {
        int result = classify != null ? classify.hashCode() : 0;
        result = 31 * result + searchVolNum;
        result = 31 * result + searchItemNum;
        result = 31 * result + searchManNum;
        result = 31 * result + borrowVolNum;
        result = 31 * result + borrowItemNum;
        result = 31 * result + borrowManNum;
        result = 31 * result + printItemNum;
        result = 31 * result + printManNum;
        result = 31 * result + allItemNum;
        result = 31 * result + allManNum;
        return result;
    }
}